package com.project.class8_24.observer;

public class Watch1 implements IWatch{
    private double price;

    public double getPrice() {
        return price;
    }

    @Override
    public void update(Object valueObj) {
        double factoryPrice = (Double) valueObj;
        this.price = factoryPrice * 1.2;
    }
}
